/*
 * 参考链接
 * 杜春雷 ARM体系结构与编程
 * ARM Architecture Reference Manual
 * 演示 Thumb 指令集，本程序编译有错，不会改
 * S3C2440A_UserManual.pdf MODES 72p  CPSR 76p Exception 79
 * 
 */
#include "s3c2440_soc.h"
#include "uart.h"
#include "sdram.h"

char g_char = 'A';
const char g_char2 = 'B';
int g_A = 0;
int g_B;
int g_C=28;


void delay(volatile int d)
{
	while (d--);
}

int main(void)
{
    urat0_init();
    
    while(1)
    {
        putchar(g_char);
        g_char++;          /*Nor 启动，无效*/
        delay(100000);
    }

  
    return 0;
}